package com.wisewin.pose.dao;

import com.wisewin.pose.entity.db.UserPhysicalActionScoreDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface UserPhysicalActionScoreDAO {

    void insertBatch(List<UserPhysicalActionScoreDO> lst);

    void insert(UserPhysicalActionScoreDO userPhysicalActionScore);

    UserPhysicalActionScoreDO getById(@Param("scoreId") int scoreId);

    List<UserPhysicalActionScoreDO> getByRecordId(@Param("recordId") int recordId);

    void update(UserPhysicalActionScoreDO userPhysicalActionScore);

    void delete(@Param("scoreId") int scoreId);
}